<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
    <title>{{ $setting['name'] }}</title>
    <meta name="keywords" content="{{ $setting['name'] }}">
    <meta name="description" content="{{ $setting['name'] }}">
    <link rel="stylesheet" href="/static/css/style.css">
    <script src="/static/js/jquery.min.js"></script>
    <script src="/static/js/lib.js"></script>
</head>
<body>
<!-- 头部 -->
@php
    $uri = $_SERVER['REQUEST_URI'];
    $uri_path = explode("/", $uri);
@endphp
<div class="header">
    <div class="wp">
        <div class="menuBtn"></div>
        <div class="logo">
            <a href="/"><img src="/static/images/logo.png" alt=""></a>
        </div>
        <ul class="nav">
            <li @if ($uri_path[1] == "/" || $uri_path[1] == "") class="on" @endif><a href="/">首页</a></li>
            <li @if ($uri_path[1] == "about") class="on" @endif><a href="/about/index">关于金台</a></li>
            <li @if ($uri_path[1] == "lawyer") class="on" @endif><a href="/lawyer/index">律师团队</a></li>
            <li @if ($uri_path[1] == "business") class="on" @endif><a href="/business/index">专业领域</a></li>
            <li @if ($uri_path[1] == "news") class="on" @endif><a href="/news/index">新闻资讯</a></li>
            <li @if ($uri_path[1] == "sh") class="on" @endif><a href="/sh/index">社会责任</a></li>
            <li @if ($uri_path[1] == "contact") class="on" @endif><a href="/contact/index">联系我们</a></li>
        </ul>
    </div>
    </div>
</div>